﻿using System.Data;
using System.Data.Common;

namespace GrainManage.Data.Access
{
    public interface IAccess
    {
        DataSet ExecuteQuery(string cmdText, params object[] paraValues);

        object ExecuteScalar(string cmdText, params object[] paraValues);

        int Execute(string cmdText, params object[] paraValues);

        DbDataReader ExecuteReader(string selectCmdText, params object[] paraValues);
    }
}
